macos: tweak gravity while resizing
authorChristian Hergert <chergert@redhat.com>
Thu, 29 Oct 2020 17:30:41 +0000 (10:30 -0700)
committerChristian Hergert <chergert@redhat.com>
Thu, 29 Oct 2020 17:57:02 +0000 (10:57 -0700)
commiteb809ba42547f098f5cb1d916b525cf0c8c384c1
tree49c16c98804c7fc23011fe29818184280bcf88eb
parentadf60fb3a10cb12115fe7599dd13f3282b79e2e4
macos: tweak gravity while resizing

This helps a situation where the window contents has not changed
in time for a drawing. Setting the texture gravity helps that side or
corner to be less jittery while moving.

Ideally, we can get to a point where we are synchronized and keeping
up with drawing fast enough to not need this. That may require some
work to drive frame clocks from drawRect: though.
gdk/macos/GdkMacosWindow.c